package com.smedi.ismedi.inmail.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "iml_task_record")
public class TaskRecordEntity extends BasicFieldEntity implements Serializable {
    private String sourceFrom;

    private Long sourceFromId;

    private Long sponsorId;

    private String sponsorName;

    /**
     * 任务类型
     */
    private String taskType;

    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 任务描述
     */
    private String taskDescribe;

    /**
     * 项目ID
     */
    private Long projectId;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 处理人ID
     */
    private Long dealPersonId;

    /**
     * 处理人姓名
     */
    private String dealPersonName;

    /**
     * 抄送人
     */
    private String noticePersonIds;

    /**
     * 状态
     */
    private String taskStatus;

    private Boolean taskRead;

    private Boolean isDeleted;


    private LocalDateTime startTime;

    private LocalDateTime taskTime;

    private LocalDateTime expireTime;

    private LocalDateTime finishTime;
}
